package com.ofhb.webapp.client.services;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.ofhb.webapp.shared.dto.UserDTO;
import com.ofhb.webapp.shared.dto.UserTypeDTO;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface DataReaderServiceAsync {
	
	void getUserTypes(AsyncCallback<List<UserTypeDTO>> callback) throws IllegalArgumentException;
	
	void isUserNameExists(String userName, AsyncCallback<Boolean> callback) throws IllegalArgumentException;
	
	void getHallOwners(AsyncCallback<List<UserDTO>> callback) throws IllegalArgumentException;
}
